.dropdown-label-container { margin:-15px 0px -15px }

.dropdown-label-title {
	margin: 0px -15px 0px;
	padding: 0px 15px;
	border-bottom: 1px solid rgba($border, .1);
}

.dropdown-label-search {
	@include flexRow();
	@include flexAlignCenter();
	margin: 0px -15px;
	padding: 0px 15px;

	.fa.dropdown-label-search-icon {
		font-size: 1em;
		color: $primary;
		margin-right: 10px;
	}

	.dropdown-label-search-input {
		@include flexFill();
		height: 30px;
		padding: 0;
		border: none;
		border-radius: 0;
		box-shadow: none;
		background: transparent;
		width: 100%;
		font-size: 1em;
		-webkit-appearance: none;
		   -moz-appearance: none;
				appearance: none;
	}
}

.dropdown-label-alsoArchive,
.dropdown-label-scrollbox {
	display: block;
	margin: 0rem -15px;
	padding: 0rem 15px;
}

/* scrollbox */
.dropdown-label-scrollbox-label {
	@include flexInline();
	@include flexAlignCenter();
	cursor: pointer;
	max-height: 100%;
	width: 100%;
	height: 30px;
}

.dropdown-label-scrollbox-label-text,
.dropdown-label-alsoArchive-txt {
	@include flexFill();
	display: flex;
	align-items: center;
	line-height: 1.2;
}

.dropdown-label-scrollbox-label-text { pointer-events: none }
.dropdown-label-scrollbox-label-icon { pointer-events: all }

.dropdown-label-scrollbox-label-checkbox,
.dropdown-label-alsoArchive-checkbox  { width: 16px }

[class*="dropdown-label-scrollbox-label-icon"] {
	margin-right: 10px;
	font-size: 16px;
}

.dropdown-label-scrollbox-label-text-ellipsis {
    max-width: calc(100% - 40px);
    color: $default-color;
}

.dropdown-label-alsoArchive {
	@include flexRow();
	@include flexAlignCenter();
	height: 45px;
	clear: both;
	padding: 0rem 15px;
	text-align: left;
	border-top: 1px solid $border;
}


.dropdown-label-apply {
	width: 100%;
    margin-bottom: 10px;
}
.pm_dropdown .dropdown-label-apply {
    display: block;
    text-align: center;
}

.dropdown-label-container.dropdown-label-hasLabels .alert-info,
.dropdown-label-container:not(.dropdown-label-hasLabels) .dropdown-label-search,
.dropdown-label-container:not(.dropdown-label-hasLabels) .dropdown-label-alsoArchive,
.dropdown-label-container:not(.dropdown-label-hasLabels) .dropdown-label-apply,
.dropdown-label-container:not(.dropdown-label-hasLabels) .dropdown-label-title-hasLabels { display: none }

.dropdown-label-container:not(.dropdown-label-hasLabels) .createLabel-button { min-height: 40px }

.appConfigBody-is-mobile {
	.dropdown-label-scrollbox {
		.scrollbox-container-group-item {
			height: 45px;
			padding: 0 10px;
			border: 1px solid $border;
			margin-bottom: 5px;
		}
	}

	.dropdown-label-scrollbox-label-checkbox,
	.dropdown-label-alsoArchive-checkbox { width: 32px }
}
